package com.purang.web.schedule.quartz.core;

import java.lang.annotation.*;

/**
 * quartz任务注册
 *
 * @author Zheming Liu
 * @version 1.0-RELEASE
 * @since 1.0-RELEASE
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface QuartzRegister {
    /**
     * 任务名称
     */
    String jobDetailName();

    /**
     * cron表达式
     */
    String cronExpression();
}
